package com.iwop.moto.service;
import com.iwop.moto.comm.Page;
import com.iwop.moto.model.MStoreService;
import com.iwop.moto.model.SuperRecordModel;

import java.util.List;

/**
 * 按模块进行
 * @author  Created by huyuangui on 2016/7/7.
 */
public interface StoreServieService {

    MStoreService findById(String sid);

    MStoreService save(MStoreService mStoreService);

    Page queryListByMStoreService(MStoreService mStoreService, Page page);

    Page findStoreByLatLog(SuperRecordModel superRecordModel, Page page);

    SuperRecordModel saveStoreServerUser(SuperRecordModel superRecordModel);

    MStoreService workService(MStoreService mStoreService, String userId, String status);

    List getAfterSaling(SuperRecordModel superRecordModel);

    void saveStoreService(SuperRecordModel superRecordModel);

    List<SuperRecordModel>  findByServiceOderListStoreId(SuperRecordModel superRecordModel);

    SuperRecordModel findServiceBySid(SuperRecordModel superRecordModel);

    void updateStoreService(SuperRecordModel superRecordModel);

    SuperRecordModel findByServiceOderDetailStoreId(SuperRecordModel superRecordModel);

    List<SuperRecordModel> findByServiceOderH5StoreId(SuperRecordModel superRecordModel);

    void addAreaHistory(SuperRecordModel superRecordModel);

    List<SuperRecordModel> areaHistoryList(SuperRecordModel superRecordModel);

    List<SuperRecordModel> getStoreList(SuperRecordModel superRecordModel);

    SuperRecordModel getServiceNo(SuperRecordModel superRecordModel);

    List<SuperRecordModel> getStoreOrderPopularList(SuperRecordModel srModel);

    void deleteStoreOrderPopular(SuperRecordModel srModel);

    SuperRecordModel getServiceBySid(String service_id);

    void deleteServiceStoreUser(String userId);

}
